import * as types from '../actions/ActionTypes';

const news = (state = {}, action) => {
  switch (action.type) {
    case types.NEWS_CMS_CLASS_LIST:
    return $.extend({},state,{news_cms_class_list:action.getData})
    case types.NEWS_CMS_ART_LIST:
    return $.extend({},state,{news_cms_art_list:action.getData})
    default:
      return state
  }
}
export default news
